package comparer;

import java.util.Arrays;

import checker.SingleChecker;

import words.AWL;
import words.StringArrayType;
import words.StringType;

public class AWLComparer extends TypeComparer{
	private SingleChecker checker;
	public AWLComparer()
	{
		this.checker = new SingleChecker();

	}

	public void compare()
	{
		StringType origin_type = (StringType) super.getOrigin();
		StringType compared_type = (StringType) super.getCompared();
		this.checker.set_origin_stringarray(origin_type.getStringArray());
		this.checker.set_compared_stringarray(compared_type.getStringArray());
		this.checker.compare();
		super.set_count(this.checker.getCount());
	}

}
